#include <iostream>
using namespace std;

void print(const string &word) {
#ifndef NDEBUG
    cerr << __func__ << ": word is " << word << endl;
    if (word.size() < 4) {
        cerr << "Error: " << __FILE__
             << " : in function " << __func__ << "()"
             << " at line " << __LINE__ << endl
             << "\tCompiled on " << __DATE__
             << " at " << __TIME__ << endl
             << "\tWord read was \"" << word
             << "\": Length too short" << endl;
    }
#endif
}

int main() {
    print("abc");
}